import {
	service
} from '@/api/request.js'

// export function getForm(type) {
//   return request({
//     url: '/business/zypbtpz/findByType/' + type,
//     method: 'GET'
//   }) 
// }
export function getForm(type,code) {
	return service({
		url: '/business/zypbtpz/findByType/'+ type + '/' + code,
		method: 'GET',
	})
}

export function approve(data) {
	return service({
		url: '/business/zypsp/update',
		method: 'POST',
		data
	})
}